package io.wdb.modules.generator.generator.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.wdb.modules.generator.generator.entity.SysUserHasBsGroupEntity;
import io.wdb.modules.generator.generator.service.SysUserHasBsGroupService;
import io.wdb.modules.manager.group.dao.SysUserHasBsGroupDao;



@Service("sysUserHasBsGroupService")
public class SysUserHasBsGroupServiceImpl implements SysUserHasBsGroupService {
	@Autowired
	private SysUserHasBsGroupDao sysUserHasBsGroupDao;
	
	@Override
	public SysUserHasBsGroupEntity queryObject(String id){
		return sysUserHasBsGroupDao.queryObject(id);
	}
	
	@Override
	public List<SysUserHasBsGroupEntity> queryList(Map<String, Object> map){
		return sysUserHasBsGroupDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return sysUserHasBsGroupDao.queryTotal(map);
	}
	
	@Override
	public void save(SysUserHasBsGroupEntity sysUserHasBsGroup){
		sysUserHasBsGroupDao.save(sysUserHasBsGroup);
	}
	
	@Override
	public void update(SysUserHasBsGroupEntity sysUserHasBsGroup){
		sysUserHasBsGroupDao.update(sysUserHasBsGroup);
	}
	
	@Override
	public void delete(String id){
		sysUserHasBsGroupDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		sysUserHasBsGroupDao.deleteBatch(ids);
	}
	
}
